WorkflowEnded<'Result>Type
PackageFCQRS.Workflows
How one element's workflow ended, as `WorkflowFlow.Run` emits it to C#.
Specification
Kind
Type
Members
7
Examples
0
``.ctor``Signature
WorkflowEnded(id, outcome)
IsFaultedSignature
this.IsFaulted
IsFinishedSignature
this.IsFinished
ErrorSignature
this.Error
IdSignature
this.Id
Summary
| Name | Signature | Synopsis |
|---|---|---|
| ``.ctor`` | WorkflowEnded(id, outcome) | No description available. |
| IsFaulted | this.IsFaulted | True when the body threw an exception it did not handle. |
| IsFinished | this.IsFinished | True when the body returned a value. |
| Error | this.Error | The stored failure when `IsFaulted` is true, and null otherwise. |
| Id | this.Id | The workflow ID computed from the element. |
| IsCancelled | this.IsCancelled | True when the workflow was cancelled. |
| Result | this.Result | The body's return value when `IsFinished` is true, and the type's default otherwise. |
Parameters
| Name | Type | Description |
|---|---|---|
| id | string | |
| outcome | WorkflowOutcome<'Result> |
Returns
WorkflowEnded<'Result>
The stored failure when `IsFaulted` is true, and null otherwise.
Returns
StepError